package common;

import java.util.LinkedList;

/**
 * User: MiF
 * Date: 30.12.11
 * Time: 14:31
 */
public class MyLinkList<E> extends LinkedList<E>{
    public E getFirst(){
        return this.get(0);
    }

    public E getLast(){
        return this.get(this.size()-1);
    }
}
